package com.pmcc.yn.entity;

import com.pmcc.core.entity.UUIDEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;


/**
 * @author zhangjunjie  2019/4/29
 * 订单的评价表
 */
@Entity
@Table(name = "js_evaluate")
@ApiModel(value = "评价表" ,description = "评价表")
public class EvaluateInfo extends UUIDEntity {
    @Column(name = "order_id")
    @ApiModelProperty(value = "orderId", required = true)
    private String orderId;//订单id

    @Column(name = "order_type")
    @ApiModelProperty(value = "orderType", required = true)
    private String orderType;//类型

    @Column(name = "evaluator_id")
    @ApiModelProperty(value = "evaluatorId", required = true)
    private String evaluatorId;//评价人id

    @Column(name = "beEvaluator_id")
    @ApiModelProperty(value = "beEvaluatorId", required = true)
    private String beEvaluatorId;//被评价人id

    @Column(name = "score")
    @ApiModelProperty(value = "score", required = true)
    private Double score;//分数

    @Column(name = "commentContent")
    @ApiModelProperty(value = "commentContent", required = true)
    private String commentContent;//评价内容

    @Column(name = "pic_address1")
    @ApiModelProperty(value = "picAddress1", required = true)
    private String picAddress1;//评价照片地址1

    @Column(name = "pic_address2")
    @ApiModelProperty(value = "picAddress2", required = true)
    private String picAddress2;//评价照片地址2

    @Column(name = "pic_address3")
    @ApiModelProperty(value = "picAddress3", required = true)
    private String picAddress3;//评价照片地址3

    @Column(name = "evaluate_time")
    @ApiModelProperty(value = "evaluateTime", required = true)
    private Date evaluateTime;//评价时间

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getCommentContent() {
        return commentContent;
    }

    public void setCommentContent(String commentContent) {
        this.commentContent = commentContent;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getEvaluatorId() {
        return evaluatorId;
    }

    public void setEvaluatorId(String evaluatorId) {
        this.evaluatorId = evaluatorId;
    }

    public String getBeEvaluatorId() {
        return beEvaluatorId;
    }

    public void setBeEvaluatorId(String beEvaluatorId) {
        this.beEvaluatorId = beEvaluatorId;
    }

    public void setScore(Double score) {
        this.score = score;
    }

    public String getPicAddress1() {
        return picAddress1;
    }

    public void setPicAddress1(String picAddress1) {
        this.picAddress1 = picAddress1;
    }

    public String getPicAddress2() {
        return picAddress2;
    }

    public void setPicAddress2(String picAddress2) {
        this.picAddress2 = picAddress2;
    }

    public String getPicAddress3() {
        return picAddress3;
    }

    public void setPicAddress3(String picAddress3) {
        this.picAddress3 = picAddress3;
    }

    public Date getEvaluateTime() {
        return evaluateTime;
    }

    public void setEvaluateTime(Date evaluateTime) {
        this.evaluateTime = evaluateTime;
    }
}
